package com.globalwave.common.entity;

import java.io.Serializable;
import java.sql.Timestamp;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;

import com.globalwave.base.BaseEntity;

@Entity
@Table(name = "sys_sync_batch")
public class SyncBatch extends BaseEntity implements Serializable  {

    @Id
    @GeneratedValue(strategy=GenerationType.SEQUENCE, generator="increment")
    @GenericGenerator(name="sync_batch_id_SEQ", strategy = "increment")
    private Long sync_batch_id ;
     private String source_db_code;
     private String sync_config_code;
     private Integer key_short_1;
     private Long key_number_1;
     private Long key_number_2;
     private String key_string_1;
     private String key_string_2;
     private String key_string_3;
     private String program_name;
     private String sync_flag;
     private Timestamp entry_date;
     private Timestamp process_date;
     private String remark;
     private Integer times_of_fail ;
     
	public Long getSync_batch_id() {
		return sync_batch_id;
	}
	public void setSync_batch_id(Long sync_batch_id) {
		this.sync_batch_id = sync_batch_id;
	}
	public String getSource_db_code() {
		return source_db_code;
	}
	public void setSource_db_code(String source_db_code) {
		this.source_db_code = source_db_code;
	}
	public String getSync_config_code() {
		return sync_config_code;
	}
	public void setSync_config_code(String sync_config_code) {
		this.sync_config_code = sync_config_code;
	}
	public Integer getKey_short_1() {
		return key_short_1;
	}
	public void setKey_short_1(Integer key_short_1) {
		this.key_short_1 = key_short_1;
	}
	public Long getKey_number_1() {
		return key_number_1;
	}
	public void setKey_number_1(Long key_number_1) {
		this.key_number_1 = key_number_1;
	}
	public Long getKey_number_2() {
		return key_number_2;
	}
	public void setKey_number_2(Long key_number_2) {
		this.key_number_2 = key_number_2;
	}
	public String getKey_string_1() {
		return key_string_1;
	}
	public void setKey_string_1(String key_string_1) {
		this.key_string_1 = key_string_1;
	}
	public String getKey_string_2() {
		return key_string_2;
	}
	public void setKey_string_2(String key_string_2) {
		this.key_string_2 = key_string_2;
	}
	public String getKey_string_3() {
		return key_string_3;
	}
	public void setKey_string_3(String key_string_3) {
		this.key_string_3 = key_string_3;
	}
	public String getProgram_name() {
		return program_name;
	}
	public void setProgram_name(String program_name) {
		this.program_name = program_name;
	}
	public String getSync_flag() {
		return sync_flag;
	}
	public void setSync_flag(String sync_flag) {
		this.sync_flag = sync_flag;
	}
	public Timestamp getEntry_date() {
		return entry_date;
	}
	public void setEntry_date(Timestamp entry_date) {
		this.entry_date = entry_date;
	}
	public Timestamp getProcess_date() {
		return process_date;
	}
	public void setProcess_date(Timestamp process_date) {
		this.process_date = process_date;
	}
	public String getRemark() {
		return remark;
	}
	public void setRemark(String remark) {
		this.remark = remark;
	}
	public Integer getTimes_of_fail() {
		return times_of_fail;
	}
	public void setTimes_of_fail(Integer times_of_fail) {
		this.times_of_fail = times_of_fail;
	}
	
}
